package com.xxmw.transaction.vo;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @author: yamoo
 * @create: 2020-07-30 16:59
 */
@Data
public class AccountVo {

    /**
     * id
     */
    private Long accountId;

    /**
     * 账户名称
     */
    private String accountName;

    /**
     * 币种余额
     */
    private Map<String, BalanceVo> balance = new HashMap<>(16);

    public AccountVo (String baseCurrency, String quoteCurrency) {
        balance.put(baseCurrency, new BalanceVo());
        balance.put(quoteCurrency, new BalanceVo());
    }

}
